<template>
  <div id="app">
    <router-view></router-view>
    <!-- 当我们在登录注册页面是需要footer组件不显示 其余情况显示 需要标识
    
     -->
    <SlotP />
    <Footer v-show="$route.meta.show" />
  </div>
</template>

<script>
import Footer from "./components/Footer";
import SlotP from "./components/SlotP";
export default {
  name: "App",
  data() {
    return {};
  },
  components: {
    Footer,
    SlotP
  }
};
</script>

<style lang="less">
.nav {
  display: flex;
  width: 750px;
  height: 100px;
  background-color: yellowgreen;
  justify-content: space-evenly;
  line-height: 100px;
  position: fixed;
  bottom: 0;
}
</style>
